package com.xx.pmis.services;

import java.util.List;

import com.xx.pmis.model.HotelExpense;

public interface HotelExpenseService {
	public void saveOrUpdateHotelExpense(HotelExpense hotelExpense) throws Exception;
	public void saveHotelExpense(HotelExpense hotelExpense) throws Exception;
	public void deleteHotelExpense(HotelExpense hotelExpense) throws Exception;
	// 根据住宿费ID查询该住宿费
	public HotelExpense getHotelExpenseByHotelExpenseID(String heID) throws Exception;    
	// 查询所有住宿费
	public List<HotelExpense> getAllHotelExpenseByCondition(String hql) throws Exception;
	// 查询所有住宿费，分页显示
	public List<HotelExpense> getAllHotelExpenseByConditionByPage(String hql, int currentPage, int lineSize) throws Exception;
	// 住宿费数
	public int getCountOfHotelExpenseByCondition(String hql) throws Exception;

}
